﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/C1.Master" AutoEventWireup="true"
    CodeBehind="ChangePassword.aspx.cs" Inherits="EasyCheque.Person.ChangePassword" %>

<asp:Content ID="Content" ContentPlaceHolderID="ContentPlaceHolder_Content" runat="server">
   <div class="title_inner">

    更改登录密码

    </div>
    <asp:Table ID="Table_ChangePassowrd" runat="server" CssClass="formtable">
        <asp:TableRow>
            <asp:TableCell CssClass="infoCellLabel">
                <asp:Label ID="Label_PASSWORD" runat="server" Text="原密码"></asp:Label>
            </asp:TableCell>
            <asp:TableCell CssClass="infoCellValue">
                <asp:TextBox ID="TextBox_PASSWORD" runat="server" AutoPostBack="false" TextMode="Password">
                </asp:TextBox>
                <asp:Label ID="Label4" runat="server" Text=" *" ForeColor="Red"></asp:Label>
            </asp:TableCell>
            <asp:TableCell CssClass="infoUltraWidth">
                <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator_PASSWORD" runat="server" ErrorMessage="原密码不能为空。"
                    CssClass="tipwrong" ControlToValidate="TextBox_PASSWORD" ForeColor="#888888"></asp:RequiredFieldValidator>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="Label_NewPassword" runat="server" Text="新密码"></asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="TextBox_NewPassword" runat="server" AutoPostBack="false" TextMode="Password">
                </asp:TextBox>
                <asp:Label ID="Label1" runat="server" Text=" *" ForeColor="Red"></asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator_NewPassword" runat="server"
                    ErrorMessage="新密码不能为空。" CssClass="tipwrong" ControlToValidate="TextBox_PASSWORD"
                    ForeColor="#888888"></asp:RequiredFieldValidator>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="Label_ReinputPassword" runat="server" Text="确认新密码"></asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="TextBox_ReinputPassword" runat="server" AutoPostBack="false" TextMode="Password">
                </asp:TextBox>
                <asp:Label ID="Label2" runat="server" Text=" *" ForeColor="Red"></asp:Label>
            </asp:TableCell>
            <asp:TableCell>
                <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator_ReinputPassword" runat="server"
                    ErrorMessage="确认密码不能为空。" CssClass="tipwrong" ControlToValidate="TextBox_ReinputPassword"
                    ForeColor="#888888"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="密码不符。"
                    ControlToCompare="TextBox_NewPassword" ControlToValidate="TextBox_ReinputPassword"
                    CssClass="tipwrong" ForeColor="#888888"></asp:CompareValidator>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell></asp:TableCell>
            <asp:TableCell>
                <asp:Button ID="Button_ChangeLoginPassword" runat="server" OnClick="Button_ChangeLoginPassword_Click"
                    CssClass="pt_button" Text="更改密码" />
            </asp:TableCell>
            <asp:TableCell>
                <asp:Label ID="Label_CommitMessage" runat="server" Text="" CssClass="tipwrong" Visible="False"></asp:Label>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
</asp:Content>
